package edu.nf.project.entitys.entity.employeeAndCustomerInformation.relevancy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 顾客信息表和优惠券关联表（customer_info_coupon）
 */
@Data
@NoArgsConstructor
@TableName("customer_info_coupon")
public class CustomerInfo_Coupon {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer ccId;

    /**
     * 顾客编号
     */
    private Integer customerId;

    /**
     * 优惠券编号
     */
    private Integer couponId;

    /**
     * 获取时间
     */
    private LocalDateTime obtainTime;

    /**
     * 截止时间
     */
    private LocalDateTime deadlineTime;
}
